<?php
/**
 * Created by PhpStorm.
 * User: xuho
 * Date: 2020-02-15
 * Time: 19:37
 */

namespace app\cdc\validate\admin;


use app\common\model\mysql\AccountModel;

class AccountStoreValidate extends \app\common\validate\BaseValidate
{
    protected $rule = [
        'realname' => 'require',
        'store_ids' => 'require',
        'status' => 'require',
    ];

    //错误信息
    protected $message = [
        'realname.require' => '请输入 真实姓名',
        'store_ids.require' => '请选择 店铺',
        'status.require' => '请选择 状态',
    ];

    protected $scene = [
        'update' => ['realname', 'store_ids', 'status'],
    ];
}